ac.game:on "商店-购买商品检查" (function(t, shop, sold, unit, player, flags)
    if sold.team and player.team ~= sold.team then 
        return false ,"无法购买"
    end 
end)